package com.qixin.modules.ea.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: ea_phone_record
 * @Author: qixin-boot
 * @Date:   2021-11-03
 * @Version: V1.0
 */
@Data
@TableName("ea_phone_record")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ea_phone_record对象", description="ea_phone_record")
public class EaPhoneRecord implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**单据编号*/
	@Excel(name = "单据编号", width = 15)
    @ApiModelProperty(value = "单据编号")
    private String billNo;
	/**费用承担部门*/
	@Excel(name = "费用承担部门", width = 15)
    @ApiModelProperty(value = "费用承担部门")
    private String paymentDeptId;
    private transient String paymentDeptIdName;
	/**来电时间*/
	@Excel(name = "来电时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "来电时间")
    private Date phoneDate;
	/**来电号码*/
	@Excel(name = "来电号码", width = 15)
    @ApiModelProperty(value = "来电号码")
    private String phoneCode;
	/**来电单位*/
	@Excel(name = "来电单位", width = 15)
    @ApiModelProperty(value = "来电单位")
    private String phoneOrgCode;
	/**来电人姓名*/
	@Excel(name = "来电人姓名", width = 15)
    @ApiModelProperty(value = "来电人姓名")
    private String phoneMan;
	/**接点人姓名*/
	@Excel(name = "接点人姓名", width = 15)
    @ApiModelProperty(value = "接电人姓名")
    private String acceptMan;
	/**接电部室*/
	@Excel(name = "接电部室", width = 15)
    @ApiModelProperty(value = "接电部室")
    private String acceptDept;
    private transient String acceptDeptName;

	/**电话内容*/
	@Excel(name = "电话内容", width = 15)
    @ApiModelProperty(value = "电话内容")
    private String phoneContent;
	/**拟办意见*/
	@Excel(name = "拟办意见", width = 15)
    @ApiModelProperty(value = "拟办意见")
    private String proposedOpinions;
	/**领导批示*/
	@Excel(name = "领导批示", width = 15)
    @ApiModelProperty(value = "领导批示")
    private String leadershipInstructions;
	/**单据状态*/
	@Excel(name = "单据状态", width = 15)
    @ApiModelProperty(value = "单据状态")
    private String billStatus;
    private transient String billStatusName;
	/**附件*/
	@Excel(name = "附件", width = 15)
    @ApiModelProperty(value = "附件")
    private String attch;
	/**图片*/
	@Excel(name = "图片", width = 15)
    @ApiModelProperty(value = "图片")
    private String picture;
	/**单据日期*/
	@Excel(name = "单据日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "单据日期")
    private Date billDate;
	/**事由*/
	@Excel(name = "事由", width = 15)
    @ApiModelProperty(value = "事由")
    private String cause;

    //审批人id
    private transient String auditManId;
    //审批人
    private transient String auditMan;
    //提交类型:保存:add,提交:send
    private transient String saveType;

    @ApiModelProperty(value = "更新时间-用于校验时效性")
    private transient String time;

    /**费用承担组织*/
    @Excel(name = "费用承担组织", width = 15)
    @ApiModelProperty(value = "费用承担组织")
    private String paymentCcid;
    private transient String paymentCcidName;

    /**申请单位ID*/
    @Excel(name = "申请单位ID", width = 15)
    @ApiModelProperty(value = "申请单位ID")
    private java.lang.String companyCodeId;
    private transient java.lang.String companyCodeIdName;

    /**申请人ID*/
    @Excel(name = "申请人ID", width = 15)
    @ApiModelProperty(value = "申请人ID")
    private java.lang.String personId;
    private transient java.lang.String personIdName;

    /**申请部门*/
    @Excel(name = "申请部门", width = 15)
    @ApiModelProperty(value = "申请部门")
    private java.lang.String deptId;
    private transient java.lang.String deptIdName;

    /**接待费申请单主键*/
    @ApiModelProperty(value = "接待费申请单主键")
    private java.lang.String entertainApplyId;
}
